package com.test.designPattern.ch31;

/**
 * @ClassName Client
 * @Description 创建客户端 Client。模拟请求用
 * @Author 维康
 * @Date 2018/7/2 17:10
 * @Version 1.0
 **/
public class Client {
    FilterManager filterManager;

    public void setFilterManager(FilterManager filterManager){
        this.filterManager = filterManager;
    }

    public void sendRequest(String request){
        filterManager.filterRequest(request);
    }
}
